﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace Lm.Common.Auth.Operation
{
    public sealed class OperationAttribute : Attribute
    {
        private Guid operationId;
        private string operationName;
        private string remark;
        public Guid OprationId { get { return this.operationId; } }
        public string OperationName { get { return this.operationName; } }
        public string Remark { get { return this.remark; } }

        private OperationAttribute()
        { }
        public OperationAttribute(string operationCode, string operationName, string remark)
        {
            this.operationId = new Guid(operationCode); this.operationName = operationName;
            this.remark = remark;
        }
    }
}
